package com.itheima.duotai;

public class Test {

    public static void main(String[] args) {
     /*   InterImpl inter = new InterImpl();
        inter.sing();*/
     //多态
     Inter inter= new InterImpl();
        inter.sing();

    }
}

interface  Inter{
    void sing();
}
class InterImpl implements Inter{

    @Override
    public void sing() {
        System.out.println("大碗宽面");
    }
}
